package com.time.company.db.model;

import com.time.company.servermodel.User;

import org.litepal.crud.DataSupport;
import org.parceler.Parcel;

/**
 * Created by Bing on 2017/8/25.
 * E-mail is tx16bing@163.com
 */

@Parcel(Parcel.Serialization.BEAN)
public class UserModel extends DataSupport {

    private String userId;
    private String accountName;
    private String address;
    private String companyNature;
    private String contactEmail;
    private String contactName;
    private String contactTelephone;
    private String createAt;
    private String creditCode;
    private String introduction;
    private String licenseUrl;
    private String logoUrl;
    private String mainBusiness;
    private String name;
    private String password;
    private String remark;
    private String removeState;
    private String scale;
    private String telephone;
    private String updateAt;
    private String vipLev;
    private String timeLev;
    private String unReadMsgNum;
    private String userActNum;
    private String timeCoin;

    public UserModel() {
    }

    public UserModel(User user) {
        this.userId = user.getUserId();
        this.accountName = user.getAccountName();
        this.address = user.getAddress();
        this.companyNature = user.getCompanyNature();
        this.telephone = user.getTelephone();
        this.contactName = user.getContactName();
        this.contactEmail = user.getContactEmail();
        this.contactTelephone = user.getContactTelephone();
        this.createAt = user.getCreateAt();
        this.creditCode = user.getCreditCode();
        this.password = user.getPassword();
        this.remark = user.getRemark();
        this.removeState = user.getRemoveState();
        this.updateAt = user.getUpdateAt();
        this.vipLev= user.getVipLev();
        this.timeLev = user.getTimeLev();
        this.timeCoin = user.getTimeCoin();
        this.unReadMsgNum = user.getUnReadMsgNum();
        this.userActNum = user.getUserActNum();
        this.introduction = user.getIntroduction();
        this.licenseUrl = user.getLicenseUrl();
        this.logoUrl = user.getLogoUrl();
        this.mainBusiness = user.getMainBusiness();
        this.name = user.getName();
        this.scale = user.getScale();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompanyNature() {
        return companyNature;
    }

    public void setCompanyNature(String companyNature) {
        this.companyNature = companyNature;
    }

    public String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(String contactEmail) {
        this.contactEmail = contactEmail;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactTelephone() {
        return contactTelephone;
    }

    public void setContactTelephone(String contactTelephone) {
        this.contactTelephone = contactTelephone;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public String getCreditCode() {
        return creditCode;
    }

    public void setCreditCode(String creditCode) {
        this.creditCode = creditCode;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getLicenseUrl() {
        return licenseUrl;
    }

    public void setLicenseUrl(String licenseUrl) {
        this.licenseUrl = licenseUrl;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getMainBusiness() {
        return mainBusiness;
    }

    public void setMainBusiness(String mainBusiness) {
        this.mainBusiness = mainBusiness;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemoveState() {
        return removeState;
    }

    public void setRemoveState(String removeState) {
        this.removeState = removeState;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(String updateAt) {
        this.updateAt = updateAt;
    }

    public String getVipLev() {
        return vipLev;
    }

    public void setVipLev(String vipLev) {
        this.vipLev = vipLev;
    }

    public String getTimeLev() {
        return timeLev;
    }

    public void setTimeLev(String timeLev) {
        this.timeLev = timeLev;
    }

    public String getUnReadMsgNum() {
        return unReadMsgNum;
    }

    public void setUnReadMsgNum(String unReadMsgNum) {
        this.unReadMsgNum = unReadMsgNum;
    }

    public String getUserActNum() {
        return userActNum;
    }

    public void setUserActNum(String userActNum) {
        this.userActNum = userActNum;
    }

    public String getTimeCoin() {
        return timeCoin;
    }

    public void setTimeCoin(String timeCoin) {
        this.timeCoin = timeCoin;
    }
}
